<?php


	namespace lib\exception;

	use Throwable;
	use yii\base\Exception;

	class ApiException extends Exception
	{

		public $message;
		public $code;

		public function __construct ($message = "", $code = -1, Throwable $previous = null) {
			$this->message  = $message;
			$this->code = $code;
		}

	}
